import { createStore  } from 'vuex'
import main from './main/index'
import head from "./head/index"
import answer from "./answer/index"
import comment from "./comment"
import ws from "./ws"
import loginModule from "./loginModule"

const store = createStore({
  state() {
    return {
      name: '张卓毅',
      age: 18
    }
  },
  mutations: {},
  actions: {},
  modules: { main,head,answer,comment,ws,loginModule }
})


export default store
